home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / kcl / akcl / akcl1615.lha / h / sun3-os4.defs < prev    next >
Text File  |  1991-03-19  |  2KB  |  63 lines

  1. LBINDIR=/usr/local/bin
  2.  
  3. # For sun3 Operating system 4.
  4. # (Note OS 4.0 prior to 4.0.3 is flaky and you may have troubles)
  5.  
  6. OFLAG= -O
  7. ODIR_DEBUG=  -g
  8. LIBS    = -lm -lg 
  9.  
  10.  
  11. # -I$(AKCLDIR)/o is so that the cc command will be able to find a
  12. # cmpinclude.h even if it is not in /usr/include.  We do not use the
  13. # h directory since there are so many .h files there, one of their
  14. # names might conflict with a users name, eg if he has a file vs.lisp
  15.  
  16. CC = cc -DVOL=  -I$(AKCLDIR)/o -Bstatic -temp=.
  17. # Adding "-Qoption as -O" to CC is advised under OS4.0 because of sun bug.
  18. # CC = cc -DVOL= -Bstatic -I$(AKCLDIR)/o -Qoption as -O
  19. # I don't know if that is necessary in 4.0.3
  20.  
  21.  
  22.  
  23. # if using gcc we need the -Bstatic in the loader flag, but also gnulib
  24. # gcc 1.36 has a definite bug--dont use it for AKCL. gcc 1.35 is ok.
  25. # If using regular cc comment out the next 2 lines
  26. CC = gcc -DVOL=volatile -I$(AKCLDIR)/o -fwritable-strings -msoft-float
  27. LIBS    = -lm -lg /usr/local/lib/gcc-gnulib
  28.  
  29. LDCC= cc -Bstatic
  30.  
  31. # Currently the result of lisp compilation cannot always be compiled on -O4,
  32. # but all files in the ./o directory can.
  33. ODIR_DEBUG= -g
  34.  
  35.  
  36. MAINDIR = /public/kcl
  37. CFLAGS    = -c $(DEFS)  -I../h
  38.  
  39. MAIN    = ../o/main.o
  40.  
  41.  
  42. RSYM    = rsym
  43. SFASL    = $(ODIR)/sfasl.o
  44.  
  45. # This function will be run before dumping.
  46. # When using SFASL it is good to have (si::build-symbol-table)
  47. INITFORM=(si::build-symbol-table)
  48.  
  49.  
  50. MPFILES= $(MPDIR)/mpi-bsd68k.o   $(MPDIR)/libmport.a
  51.  
  52. # Use symbolic links
  53. SYMB=-s
  54. # the  make to use for saved_kcp the profiler.
  55. KCP=kcp-sun
  56.  
  57. NULLFILE = ../h/secondary_sun_magic
  58.  
  59.  
  60.  
  61.  
  62.  
  63.